package cn.com.gome.framework.utils;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

/**
 * @ClassName: cn.com.gome.framework.utils
 * @Description: ${TODO}
 * Created by wangheming on 2017/12/1 10:04.
 */
public class SwitchDatabase extends AbstractRoutingDataSource{
    @Override
    protected Object determineCurrentLookupKey() {
        return SwitchDataSourceTools.getThkey();
    }
}
